package behavioral.pattern.chain;

import behavioral.pattern.chain.filters.FilterA;
import behavioral.pattern.chain.filters.FilterB;

/**
 * @Autor: yuanyongan
 * @Description:
 * @Date 2023/1/10 9:01
 */
public class Test {
    public static void main(String[] args) {
        FilterChain chain = new FilterChain();
        chain.addFilter(new FilterA());
        chain.addFilter(new FilterB());
        chain.doFilter();
    }
}
